package com.dream.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "`rules`")
public class GroupRules implements Serializable {
    /**
     * 解密后充值码；即视为用户唯一标识
     * rules.recharge_code
     */
    @Id
    @ApiModelProperty(hidden = true)
    private String userName;

    @ApiModelProperty("包规则")
    private String packageRule;

    @ApiModelProperty("接龙頑珐规则")
    private String nextSenderRule;

    @ApiModelProperty("接龙頑珐特殊琻额奖励")
    private String nextSenderSpecialMoney;

    @ApiModelProperty("报奖修改")
    private String prizeText;
    @ApiModelProperty("功能开关")
    private String featureSwitch;

    /**
     * 创建时间
     * rules.create_time
     */
    @ApiModelProperty(hidden = true)
    private Date createTime;

    /**
     * rules.update_time
     */
    @ApiModelProperty(hidden = true)
    private Date updateTime;

}